@layout("/common/_container.html",{js:["/assets/withdraw/withdraw.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">提现记录表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <select id="states" name="states" lay-verify="">
                                    <option value="">请选审核状态</option>
                                    <option value="0">待审核</option>
                                    <option value="1">已审核</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <!--<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="withdrawTable" lay-filter="withdrawTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    {{# if(d.state==0){ }}
    <a class="layui-btn layui-btn layui-btn-xs" lay-event="examine">审核</a>
    {{# } }}
    {{# if(d.state==1){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" >已审核</a>
    <!--<a class="layui-btn layui-btn layui-btn-xs" >已审核</a>-->
    {{# } }}
 <!--   <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
</script>
@}
<script type="text/html" id="state">
    {{# if(d.state==0){ }}
    未审核
    {{# } }}
    {{# if(d.state==1){ }}
    审核通过
    {{# } }}
    {{# if(d.state==2){ }}
    审核不通过
    {{# } }}
</script>